package com.yangtao.springbootfreemarker.config;

import com.yangtao.core.jpa.dao.BaseJpaRepositoryFactoryBean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@EnableJpaRepositories(basePackages = {"com.yangtao"},
        repositoryFactoryBeanClass  = BaseJpaRepositoryFactoryBean.class)
@EnableTransactionManagement
public class JpaDataConfig {

}
